<%@page pageEncoding="utf-8" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<table width='100%' height='31' border='0' cellspacing='0'
		cellpadding='0'>
	<tr>
		<td width='40'
			background='${pageContext.request.contextPath}/common/images/index_26.jpg'>&nbsp;
			
		</td>
		<!--内容区导航开始-->
		<td align='left' valign='middle'
			background='${pageContext.request.contextPath}/common/images/ctitle_bak_center.jpg'>
			<span class="channel_title">图书分类管理
				<span style="color:#000;"> >> 修改分类信息>> </span> </td>
		<!--内容区导航结束-->
		<td align='left' valign='middle'
			background='${pageContext.request.contextPath}/common/images/ctitle_bak_center.jpg'>&nbsp;
		</td>
		<td width='13' align='right' valign='middle'
			background='${pageContext.request.contextPath}/common/images/ctitle_bak_center.jpg'>
			<img src="${pageContext.request.contextPath}/common/images/ctitle_bak_right.jpg" height="31" width="10">
		</td>
	</tr>
</table>

<table width='100%' height="325px" border='0' cellspacing='0' cellpadding='0'>
	<tr align="center">
		<td>
<form action="${pageContext.request.contextPath}/sysManage/typeManage/type.do?method=modifysuccess" method="post">
	<table>
		<tr>
			<td><span style="fond-size:12px">类　名：</span></td>
			<td><input id="typeName" name="typeName" type="text" value="${bookType.typeName}">
				<input id="id" name="id" type="hidden" value="${bookType.id}">
			</td>
			<td><div id="checkName"></div></td>
		</tr>
		
		<tr>
			<td><span style="fond-size:12px">上一级类名：</span></td>
			<td><select id="p_id" name="p_id">
				<option value="0">无上一级类名</option>
				<c:forEach items="${pbookTypes}" var="pbooktype">
					<c:if test="${!empty bookType.p_id}" var="result">
						<c:choose>
							<c:when test="${pbooktype.id==bookType.p_id}">
								<option value="${pbooktype.id}" selected>${pbooktype.typeName}</option>
							</c:when>
							<c:otherwise>
								<option value="${pbooktype.id}">${pbooktype.typeName}</option>
							</c:otherwise>
						</c:choose>
					</c:if>	
				</c:forEach>
			</select>
			<td><div id="checkp_id"></div></td>
		</tr>
		<tr>
			<td height='31'><input type="submit" value="修改"></td>
			<td height='31'><P><INPUT TYPE="button" VALUE="< 取消" onClick="history.back()"></td>
		</tr>
	</table>
</form>
		</td>
	</tr>
</table>
